package supplierconsumer;

public class Test {
	public static void main(String[] args) {
		Container c = new Container();
		
		Productor p1 = new Productor("金鹏", c);
		Productor p2 = new Productor("尹昊", c);
		
		Consumer c1 = new Consumer("王昊", c);
		Consumer c2 = new Consumer("卢滔", c);
		
		p1.start();
		p2.start();
		c1.start();
		c2.start();
	}
}
